#ifndef __FILE_IO_H__
#define __FILE_IO_H__

#include "lnthread.h"

#ifdef  WINDOWS
#define   FILE_CRLF  "\r\n"
#else
#define   FILE_CRLF "\n"
#endif

char* read_file (
  const char * file_name,
  respool * pool,
  int* size );

char** read_lines (
  const char * file_name,
  respool * pool);

int write_lines (
  const char * file_name,
  char** lines );

#endif